from comm.sqlalchemyConfig import db


class switchDatabase1Model(db.Model):
    __tablename__ = 'tx_switch_database1'
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(80), unique=True, nullable=False)

class switchDatabase2Model(db.Model):
    __tablename__ = 'tx_switch_database2'
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(80), unique=True, nullable=False)